// src/main.js
import { createApp } from 'vue';
import App from '@/App.vue';
import router from '@/router';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-persistedstate-plugin';
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import './styles/theme.css'

const app = createApp(App)


app.use(router);
app.use(ElementPlus, {
    locale: zhCn,
})
const pinia = createPinia();
const persist = createPersistedState();
pinia.use(persist);
app.use(pinia);

app.mount('#app')


